var fixedLoader = {
    defs: {
        el: '\
                <div class="circle-container rad-border">\
                <div class="circle-loader rad-border"></div>\
                <div class="circle-content rad-border"></div>\
                <div class="center-circle-image rad-border"></div>\
                </div>\
            ',
        ie: '\
                <img id="gifLoader" src="http://www.dondereciclo.org.ar/resources/img/loader.gif" /> Por favor espere...\
            '
    },
    isAppend:false,
    show: function () {
        var el = ($.browser.msie)?this.defs.ie:this.defs.el;
        if (this.isAppend) {
            $('#fixedLoader').show();
        } else {
            $('body').prepend('<div id="fixedLoader">'+el+'</div>');
            $(window).resize(this.ajustarAltoBg);
            this.isAppend = true;
        }
        this.ajustarAltoBg();
    },
    hide: function () {
        $('#fixedLoader').hide();
    },
    ajustarAltoBg: function () {
        var alto = $(window).height();
        $('#fixedLoader').height(alto)
    }
}